package cn.iocoder.yudao.module.worker.controller.admin.goods.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商品管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WorkerGoodsPageReqVO extends PageParam {

    @Schema(description = "名称", example = "张三")
    private String name;

    @Schema(description = "商品分类id", example = "22404")
    private Long categoryId;

    @Schema(description = "商品分类父级id", example = "16807")
    private Long categoryParentId;

    @Schema(description = "排序")
    private Integer weight;

    @Schema(description = "时长/小时")
    private BigDecimal hour;

    @Schema(description = "盲盒价格", example = "24314")
    private BigDecimal price;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private List<Long> goodsIdList;

    /**
     * 状态
     */
    private Boolean status;

}